$OpenBSD: patch-kabc_plugins_file_CMakeLists_txt,v 1.2 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- kabc/plugins/file/CMakeLists.txt.orig	Thu May  8 11:26:48 2014
+++ kabc/plugins/file/CMakeLists.txt	Sun May 18 20:22:24 2014
@@ -8,7 +8,7 @@ set(kabc_file_core_SRCS resourcefile.cpp resourcefilec
 add_library(kabc_file_core ${LIBRARY_TYPE} ${kabc_file_core_SRCS})
 generate_export_header(kabc_file_core)
 
-target_link_libraries(kabc_file_core ${KDE4_KIO_LIBS} kabc kresources)
+target_link_libraries(kabc_file_core kabc kresources ${KDE4_KIO_LIBS})
 
 set_target_properties(
   kabc_file_core PROPERTIES
@@ -25,11 +25,11 @@ set(kabc_file_SRCS resourcefileplugin.cpp)
 kde4_add_plugin(kabc_file ${kabc_file_SRCS})
 
 target_link_libraries(kabc_file
-  ${QT_QTGUI_LIBRARY}
-  ${KDE4_KDECORE_LIBS}
-  kabc
   kabc_file_core
+  kabc
   kresources
+  ${KDE4_KDECORE_LIBS}
+  ${QT_QTGUI_LIBRARY}
 )
 
 install(TARGETS kabc_file DESTINATION ${PLUGIN_INSTALL_DIR})
